package com.demo.apparel.service.web;

import com.demo.apparel.entity.Ana;
import com.demo.apparel.vo.PageVO;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface AnaService {
    List<Ana> getAll();
    void add(Ana ana);
    void delete(String id);

    PageVO<Ana> getPage(String keyword, int pageNum, int pageSize);

    void deleteBatch(List<String> ids);

    void exportAll(HttpServletResponse response) throws IOException;

    void update(Ana ana);

    void importAna(MultipartFile file) throws Exception;

}
